package com.ctgu.server.dao.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ctgu
 * @since 2023-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AttendanceGroup对象", description="")
public class AttendanceGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @ApiModelProperty(value = "用户id")
    
    private String userId;

    @ApiModelProperty(value = "考勤组名称")
    private String groupName;

    @ApiModelProperty(value = "考勤周期开始日期")
    private Date startDate;

    @ApiModelProperty(value = "考勤周期结束日期")
    private Date endDate;

    @ApiModelProperty(value = "考勤简介")
    private String description;

    @ApiModelProperty(value = "打卡类型0.默认打卡，1.考勤组打卡")
    private Boolean isPublic;

}
